<template>
    <view class='container'>
        <u-parse v-if="content" :content="content"></u-parse>
    </view>
</template>

<script>
import { richTxtApi } from "@/services/common";
export default {
    data() {
        return {
            content: ''
        };
    },
    onLoad(options) {
        richTxtApi({ id: 1 }).then((res) => {
            this.content = res.data?.rich_info.content || "";
        });
    }
};
</script>

<style scoped>
.container {
    padding: 36rpx 40rpx;
}
</style>
